package HoTan.global.DOM;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;


	
	public class MyErrorHandler implements ErrorHandler{

		public void error(SAXParseException exception) throws SAXException {
			System.out.println("ERROR : " + exception.getMessage());
			throw exception;
		}

		public void fatalError(SAXParseException exception) throws SAXException {
			System.out.println("FATAL : " + exception.getMessage());
	        throw exception;
		}

		public void warning(SAXParseException exception) throws SAXException {
			System.out.println("WARNING : " + exception.getMessage());
		}
		

}
